<script>
export default {
  name: 'conHeader',
  props: {
    title: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <header class="con-header">
    <el-page-header :content="title" @back="$router.back()" />
  </header>
</template>

<style scoped lang="scss">
.con-header {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 64px;
  background-color: #fff;
}

</style>
